package jpa.repository;

import jpa.projections.Employee;
import jpa.projections.NoPosition;
import org.springframework.data.repository.CrudRepository;

/**
 * Created by barton on 16-5-13.
 */
public interface EmployeeRepository extends CrudRepository<Employee, Long> {
    NoPosition findOneById(Long id);
}
